<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>vue-professiomal</title>
		<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=0">
		<link rel="stylesheet" type="text/css" href="static/lib/mui/css/mui.min.css" />
		<script type="text/javascript" src="static/lib/mui/js/mui.min.js"></script>
		<script type="text/javascript" src="static/lib/jquery-1.11.3.js"></script>
		<style type="text/css">
			#app {
				/*overflow: hidden;*/
			}
		</style>
	</head>

	<body>
		<div id="app"></div>
	</body>
	<script>
		$(function() {
			$('body').css({
				'height': window.screen.height - 20 + 'px',
				'background': '#1b1b26'
			});
		});

//		// 扩展API加载完毕后调用onPlusReady回调函数 
//		document.addEventListener("plusready", onPlusReady, false);
//		// 扩展API加载完毕，现在可以正常调用扩展API 
//		function onPlusReady() {
//			console.log("plusready");
//		}
//		// 拍照
//		function captureImage() {
//			var cmr = plus.camera.getCamera();
//			var res = cmr.supportedImageResolutions[0];
//			var fmt = cmr.supportedImageFormats[0];
//			console.log("Resolution: " + res + ", Format: " + fmt);
//			cmr.captureImage(function(path) {
//					alert("Capture image success: " + path);
//				},
//				function(error) {
//					alert("Capture image failed: " + error.message);
//				}, {
//					resolution: res,
//					format: fmt
//				}
//			);
//		}
	</script>

</html>